
public class code5055 {
	public static void main(String[]args){
		int i = 12345;
		while(i!=0){
			System.out.print(i%10);
			i = i/10;
		}
	}

}
